{# Overseer > Deployments > Backups: whether they are copied off the server and the last restore drill (ui_deployments.offsite), then the scheduled database backups on the backup volume, newest first, or why there are none. #} {% from "components/macros/layout.html" import card, facts %} {% from "components/macros/table.html" import data_table %} {% from "pages/overseer/deployments/_macros.html" import goto, note %} {% if offsite %} {% call card("Off the server", id="card-offsite") %} {% if offsite.state == "off" %}

Not set up: these backups live only on this server, and go with it. Set the Off-site backup values in {{ goto(secrets_url, "Secrets") }} and a copy leaves each night at 02:30.

{% elif offsite.state == "waiting" %}

No copy yet: the first leaves at 02:30.

{% else %} {% if offsite.error %}

The last copy failed: {{ offsite.error }}

{% endif %} {{ facts(offsite.facts) }} {% endif %} {% endcall %} {% endif %}
{{ data_table(backup_columns, backups.rows, empty=backups.note) }}